-- GENERATED SPELL FOR [Razormane Battleguard] --


function spell0_3114(pUnit, Event) --@Improved Blocking,Self--
pUnit:FullCastSpellOnTarget(3248,pUnit)
pUnit:RegisterEvent('Sorts_3114', 6344, 1)
end

function Sorts_3114(pUnit, Event)
local choix_sorts_3114 = math.random(0, 0)
if choix_sorts_3114 == 0 then
pUnit:RegisterEvent('spell0_3114', 1, 1)
end
end

function mob3114_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3114', math.random(1500, 3000), 1)
end

function mob3114_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3114_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3114_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3114, 1, 'mob3114_Action')
RegisterUnitEvent(3114, 2, 'mob3114_Leave')
RegisterUnitEvent(3114, 3, 'mob3114_Kill')
RegisterUnitEvent(3114, 4, 'mob3114_Die')
